<!--
 * @Descripttion: 
 * @version: 
 * @Author: 高月飞
 * @Date: 2023-11-24 13:24:07
 * @LastEditors: 高月飞
 * @LastEditTime: 2023-11-24 15:06:09
-->
<template>
    <el-table ref="multipleTableRef" :header-cell-style="{ textAlign: 'center' }" :cell-style="{ textAlign: 'center' }"
        style="width: 100%" >

        <el-table-column type="selection" />
        <el-table-column prop="sysid" label="序号" />
        <el-table-column prop="systemname" label="职位名称" />
        <el-table-column prop="systemdepart" label="关联部门" />
        <el-table-column prop="systemlevel" label="权限等级" />
        <el-table-column label="状态">
            <template #default="scope">
                <el-switch v-model="scope.row.systemstate" /></template>
        </el-table-column>
        <el-table-column label="操作" width="240">
            <template #default="{ row }">
                <el-button type="primary" size="small">编辑</el-button>
            </template>
        </el-table-column>


    </el-table>
</template>

<script setup lang="ts">

interface IProps {
    tableData: any
}
const props = defineProps<IProps>()
console.log(props)

</script>

<style lang="scss" scoped></style>